UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All system command files must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-794 GEN001200 SV-794r2_rule ECLP-1 Medium
Description
Restricting permissions will protect system command files from unauthorized modification. System command files include files present in directories used by the operating system for storing default system executables and files present in directories included in the system's default executable search paths.
STIG Date
Solaris 9 SPARC Security Technical Implementation Guide 2012-05-25

Details

Check Text ( C-298r2_chk )
Check the permissions for files in /etc, /bin, /usr/bin, /usr/lbin, /usr/ucb, /sbin, and /usr/sbin.

Procedure:
# ls -lL /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin

If any file listed has a mode more permissive than 0755, this is a finding.

NOTE: Elevate to Severity Code I if any file listed is world-writable.
Fix Text (F-948r2_fix)
Change the mode for system command files to 0755 or less permissive.

Procedure:
# chmod 0755